﻿using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;

namespace SilverlightViewport.Common.Interop
{
    [ComImport, Guid("3127CA40-446E-11CE-8135-00AA004BB851"), 
    InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface IErrorLog
    {
        [PreserveSig]
        int AddError([In, MarshalAs(UnmanagedType.LPWStr)] string pszPropName, 
                      [In, MarshalAs(UnmanagedType.Struct)] System.Runtime.InteropServices.ComTypes.EXCEPINFO pExcepInfo);
    }
}
